package com.heima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.heima.pojo.Policy;
import com.heima.pojo.VmPolicy;
import com.heima.pojo.vo.VmListVo;

import java.util.List;

public interface PolicyMapper extends BaseMapper<Policy> {
    VmPolicy getVmPolicy(String innerCode);

    List<VmListVo> getVmList(IPage<VmListVo> page, Integer policyId);
}
